package com.zengshuai.miniprogrambackend.Mapper;

import com.zengshuai.miniprogrambackend.Entity.RecyleOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RecycleMapper {
    void saveRecycleOrder(@Param("openid") String openid, @Param("address") String address,
                          @Param("booktime") String booktime, @Param("currentTime") String currentTime,
                          @Param("desc") String desc, @Param("recyclename") String recyclename,@Param("telnumber") String telnumber);

    List<RecyleOrder> getrecycleorderlist();

//    void deleterecycleorderbyid(@Param("id") String id);

    List<RecyleOrder> getrecycleorderlistbystatus( String status);

    void acceptorder(String id);

    void arrive(String id);

    void jiesuan(String id, String recycleprice);
}
